<?php

use Illuminate\Database\Seeder;

class ActivityTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('stock_activities')->insert([
                'name' => '快来天天投2',
                'user_id' => rand(1,100),
                'profile'=>'天天投啊天天投',
                'money'=>rand(50,100),
                'start_time'=>time(),
                'end_time'=>time()+86400,
        ]);

    }
}
